home *** CD-ROM | disk | FTP | other *** search
-
- /*- - - - - - - - - - - - - - - - - -*/
- /* */
- /* File: qman_data.include */
- /* */
- /* Contains data declarations */
- /* for procedure qman */
- /* */
- /*- - - - - - - - - - - - - - - - - -*/
-
- struct NewScreen ns;
- struct NewWindow nw;
-
- struct Screen *mandel_screen;
- struct Window *mandel_window;
-
- struct Menu qman, resolution, color, zoom;
-
- /* Menu items for the above: */
- struct MenuItem restart, skew, quit; /* for the qman menu */
- struct MenuItem interlace, smooth ; /* for the resolution menu */
- struct MenuItem blend, random, cycle, next; /* for the color menu */
- struct MenuItem select; /* for the zoom menu */
-
- USHORT default_flags;
-
- struct IntuiText restart_text, skew_text, quit_text;
- struct IntuiText interlace_text, smooth_text;
- struct IntuiText blend_text, random_text, cycle_text, next_text, select_text;
-
- struct TextAttr topaz_eight;
-
- struct RastPort *rp;
- struct ViewPort *vp;
-
- struct GfxBase *GfxBase;
- struct IntuitionBase *IntuitionBase;
-
- struct IntuiMessage *message;
-
- void ProcessMessage(), NextColor(), SelectZoom();
- void SetUpMandelGraphics(), SetUpMandelMenus();
-
- /* The assembly routines: */
- extern void mandel(), msmooth();
-
- /* These guys are accessed by the assembly subroutines: */
- int xptr, imagc, bp1, bp2, bp3, bp4, x_table[640], kflag;
-
- int x1,y1, x2,y2, x3,y3;
- int i, x,y, cycle_colors, cycle_count, ilace, smooth_flag, vertical_res;
-
- int reds[14], greens[14], blues[14];
-
- double top, bottom, left, right, xincr, yincr, scale, left_x;
- BOOL random_colors, new_region_selected, screen_changed, restart_selected;
-
-